package org.nmgyjt.springboot.entity.admin;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 批量导入
 *
 * @author taohui
 * @date 2020/03/11 16:48
 */
@Data
public class IDAASOrgEntity {

    @ApiModelProperty(value = "应急部门编码", dataType = "string")
    String code;

    @ApiModelProperty(value = "系统报警编码编码", dataType = "long")
    String emResCode;

    @ApiModelProperty(value = "管理员", dataType = "集合 list")
    List<String> admin;

    @ApiModelProperty(value = "备注", dataType = "string")
    String remark;

    @ApiModelProperty(value = "部门领导 id", dataType = "string")
    String leaderId;

    @ApiModelProperty(value = "部门类型", dataType = "string")
    String orgType;

    @ApiModelProperty(value = "资源编码", dataType = "string")
    String sourceCode;

    @ApiModelProperty(value = "行政区划编码", dataType = "string")
    String regionCode;

    @ApiModelProperty(value = "排序号", dataType = "integer")
    Integer udOrder;

    @ApiModelProperty(value = "社会信用编码", dataType = "string")
    String creditCode;

    @ApiModelProperty(value = "部门简称", dataType = "string")
    String orgNameShort;

    @ApiModelProperty(value = "父级应急机构编码", dataType = "string")
    String parentCode;

    @ApiModelProperty(value = "是否属于资源管理体系", dataType = "integer")
    String isSource;

    @ApiModelProperty(value = "部门 ID", dataType = "string")
    private String id;

    @ApiModelProperty(value = "所属区划", dataType = "string")
    private String area;

    @ApiModelProperty(value = "微信 id", dataType = "string")
    private String wechat_id;

    @ApiModelProperty(value = "办公地址", dataType = "string")
    private String address;

    @ApiModelProperty(value = "机构/内设机构编码", dataType = "string")
    private String dptCode;

    @ApiModelProperty(value = "树形图前辈编码", dataType = "string")
    private List<String> ancestor;

    @ApiModelProperty(value = "父级部门 ID", dataType = "string")
    private String parentId;

    @ApiModelProperty(value = "分类ID", dataType = "string")
    private String catCode;

    @ApiModelProperty(value = "部门名称", dataType = "string")
    private String name;

    @ApiModelProperty(value = "是否属于虚拟部门", dataType = "boolean")
    private Boolean whetherVirtualOrg;

    @ApiModelProperty(value = "资源体系分类编码", dataType = "string")
    private String sourceCatCode;

    @ApiModelProperty(value = "是否属于资源管理体系:0-否;1-是", dataType = "int")
    private Integer isSourceManagerOrg;

    @ApiModelProperty(value = "部门的状态值:ENABLED-启用;DISABLED-停止使用", dataType = "string")
    private String status;

    @ApiModelProperty(value = "资源类型", dataType = "string")
    private String sourceType = "";

    @ApiModelProperty(value = "可添加的最大人数", dataType = "integer")
    private Integer maxUserNumber;

    @ApiModelProperty(value = "部门/机构的人数", dataType = "integer")
    private Integer userNumber;
}